<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ include file="/common/taglibs.jsp"%>
<x:parse xml="${param.xmlstr}" var="xmlData" />
<table class="t_css" width="100%" border="0" cellpadding="0"
	id="orgInfo" cellspacing="1">
	<tr class="t_tr">
		<td colspan="9" class="t_bar">单位基本信息</td>
	</tr>
	<tr>
		<td nowrap align="right">单位名称：</td>
		<td colspan='8'>
		    <x:out select="$xmlData/data/organizations/organization[@submit_org=1]/cname" />
		</td>
	</tr>
	<tr>
		<td nowrap align="right">法人代码：</td>
		<td colspan='4'>
		    <x:out select="$xmlData/data/organizations/organization[@submit_org=1]/org_no" /></td>
		<td nowrap align="right">营业执照注册号：</td>
		<td colspan='3'>
		    <x:out select="$xmlData/data/organizations/organization[@submit_org=1]/org_licence" />
		</td>
		
	</tr>
	<tr>
	    <td nowrap align="right">国税登记号：</td>
		<td colspan='4'>
		     <x:out select="$xmlData/data/organizations/organization[@submit_org=1]/tax_internal_no" />
		</td>
	    <td nowrap align="right"><span class="color_red">*</span>地税登记号：</td>
		<td colspan='3'>
		     <x:out select="$xmlData/data/organizations/organization[@submit_org=1]/tax_local_no" />
		</td>
	</tr>
	<tr>
	    <td nowrap align="right">单位地址：</td>
		<td colspan='4'>
		     <x:out select="$xmlData/data/organizations/organization[@submit_org=1]/address" /></td>
		 <td nowrap align="right">电子邮箱：</td>
		<td colspan='3'>
		     <x:out select="$xmlData/data/organizations/organization[@submit_org=1]/email" /></td>
	</tr>
	<tr>
		<td nowrap align="right">银行账号：</td>
		<td colspan='4'>
		     <x:out select="$xmlData/data/organizations/organization[@submit_org=1]/bank_account" /></td>
		<td nowrap align="right">开户银行：</td>
		<td colspan='3'>
		     <x:out select="$xmlData/data/organizations/organization[@submit_org=1]/bank_orgname" /></td>
	</tr>
	<tr>
	    <td nowrap align="right">信用等级：</td>
		<td colspan='4'>
		     <x:out select="$xmlData/data/organizations/organization[@submit_org=1]/bank_credit" />
		</td>
		<td nowrap align="right"><span class="color_red">*</span>贷款证号码：</td>
		<td colspan='3'>
		     <x:out select="$xmlData/data/organizations_extend/organization[@submit_org=1]/loan_card" />
		</td>
	</tr>
	<tr>
	    <td nowrap align="right">单位成立时间：</td>
		<td colspan='4'>
		     <x:out select="$xmlData/data/organizations/organization[@submit_org=1]/registe_date" /></td>
		<td nowrap align="right"><span class="color_red">*</span>股份公司设立方式：</td>
		<td colspan='3'>
		     <x:out select="$xmlData/data/organizations_extend/organization[@submit_org=1]/company_type" />
		</td>
	</tr>
	<tr>
	    <td nowrap align="right">注册类型：</td>
		<td colspan='4'>
		     <x:out select="$xmlData/data/organizations/organization[@submit_org=1]/nature_name" />
		</td>
		<td align="right">单位电话：</td>
		<td colspan='3'><x:out
					select="$xmlData/data/organizations/organization[@submit_org=1]/org_tel" /></td>
	</tr>
	<tr>
	    <td nowrap align="right">现有注册资本：</td>
		<td colspan='2'>
		    <x:out select="$xmlData/data/organizations/organization[@submit_org=1]/registe_fund" />
		</td>
	    <td nowrap align="right">中资：</td>
		<td colspan='2'>
		    <x:out select="$xmlData/data/organizations/organization[@submit_org=1]/registe_fund_chn" />
		</td>
		<td nowrap align="right">外资：</td>
		<td colspan='2'>
		    <x:out select="$xmlData/data/organizations/organization[@submit_org=1]/registe_fund_foreign" />
		</td>
	</tr>
	<tr>
	    <td nowrap align="right"><span class="color_red">*</span>实收资本：</td>
		<td colspan='2'>
	     	<x:out select="$xmlData/data/organizations_extend/organization[@submit_org=1]/paid_fund" />万元
		</td>
	    <td nowrap align="right"><span class="color_red">*</span>中资：</td>
		<td colspan='2'>
		    <x:out select="$xmlData/data/organizations_extend/organization[@submit_org=1]/paid_fund_chn" />万元
		</td>
		<td nowrap align="right"><span class="color_red">*</span>外资：</td>
		<td colspan='2'>
	   	    <x:out select="$xmlData/data/organizations_extend/organization[@submit_org=1]/paid_fund_foreign" />万美元
		</td>
	</tr>
	<tr>
		<td nowrap align="right">经营方式：</td>
		<td colspan='8'>
			<x:out select="$xmlData/data/organizations/organization[@submit_org=1]/opt_model_name" />
		</td>
	</tr>
	<tr>
		<td  nowrap align="right">经营范围（按营业执照）：</td>
		<td colspan='8'>
		     <x:out select="$xmlData/data/organizations/organization[@submit_org=1]/opt_scope" />
		</td>
	</tr>
	<tr>
		<td  nowrap align="right"><span class="color_red">*</span>单位专业资质：</td>
		<td colspan='8'>
		    <x:out select="$xmlData/data/organizations_extend/organization[@submit_org=1]/pro_quali" />
		</td>
	</tr>
	<tr>
	    <td  nowrap align="right"><span class="color_red">*</span>单位拥有知识产权状况：</td>
	    <td colspan='8'><x:out select="$xmlData/data/proposal/intell_hidden"   escapeXml="false"/></td>
	</tr>
</table>
<br>
<div class="t_bar">主要股东</div>
<table border="0" cellspacing="0" cellpadding="0" class="table01 t_css" id="main_sholder">
	<thead>
		<tr>
			<th align="center" width="40%" nowrap>主要股东名称</th>
			<th width="20%" align="center">股东出资额(万元)</th>
			<th width="20%">出资形式</th>
			<th width="20%">所占股份比例（%）</th>

		</tr>
	</thead>
	<tbody id="tab">
		<c:set value="0" var="index" scope="page" />
		<x:forEach
			select="$xmlData/data/organizations/shareholders/shareholder"
			var="shareholder">
			<c:choose>
				<c:when test="${index<10}">
					<c:set value="0" var="flag" scope="page" />
				</c:when>
				<c:otherwise>
					<c:set value="" var="flag" scope="page" />
				</c:otherwise>
			</c:choose>
			<tr>
				<td align="center"><span style='display: none'
					name="organizations/shareholders/shareholder[${flag}${index}]@sequence_no">${index+1}</span>
					<span
					name="organizations/shareholders/shareholder[${flag}${index}]/cname">
						<x:out select="$shareholder/cname" />
				</span></td>
				<td align="center"><span
					name="organizations/shareholders/shareholder[${flag}${index}]/invest_amount">
						<x:out select="$shareholder/invest_amount" />
				</span></td>
				<td align="center"><span
					name="organizations/shareholders/shareholder[${flag}${index}]/invest_type_name">
						<x:out select="$shareholder/invest_type_name" />
				</span></td>
				<td align="center"><span
					name="organizations/shareholders/shareholder[${flag}${index}]/invest_percent">
						<x:out select="$shareholder/invest_percent" />
				</span></td>
			</tr>
			<c:set value="${index+1}" var="index" scope="page" />
		</x:forEach>
	</tbody>
</table>
<br>
<div class="t_bar">近三年曾获政府资助的情况（金额：万元）</div>
<table border="0" cellspacing="0" cellpadding="0" class="table01 t_css" id="tr_assist">
	<thead>
		<tr>
			<th width="17%" align="center" nowrap>项目名称</th>
			<th width="13%" align="center">资助部门</th>
			<th width="11%">资助时间</th>
			<th width="11%">资助金额</th>
			<th width="10%">项目验收情况</th>
			<th width="10%">验收时间</th>
			<th width="7%" nowrap="nowrap">资助形式</th>
			<th width="10%">借款偿还情况</th>
			<th width="10%">还款时间</th>
		</tr>
	</thead>
	<tbody id="tab">
		<c:set value="0" var="index" scope="page" />
		<x:forEach select="$xmlData/data/research/fund_project"
			var="research">
			<c:choose>
				<c:when test="${index<10}">
					<c:set value="0" var="flag" scope="page" />
				</c:when>
				<c:otherwise>
					<c:set value="" var="flag" scope="page" />
				</c:otherwise>
			</c:choose>
			<tr>
				<td align="left"><span
					name="research/fund_project[${flag}${index}]/ctitle"> <x:out
							select="$research/ctitle" />
				</span></td>
				<td align="left"><span
					name="research/fund_project[${flag}${index}]/award_dept"> <x:out
							select="$research/award_dept" />
				</span></td>
				<td align="center"><span
					name="research/fund_project[${flag}${index}]/award_date"> <x:out
							select="$research/award_date" />
				</span></td>
				<td align="right"><span
					name="research/fund_project[${flag}${index}]/award_amt"> <x:out
							select="$research/award_amt" />
				</span></td>
				<td align="left"><span
					name="research/fund_project[${flag}${index}]/accept_flag_name">
						<x:out select="$research/accept_flag_name" />
				</span></td>
				<td align="center"><span
					name="research/fund_project[${flag}${index}]/accept_date"> <x:out
							select="$research/accept_date" />
				</span></td>
				<td align="left"><span
					name="research/fund_project[${flag}${index}]/award_type"> <x:out
							select="$research/award_type" />
				</span></td>
				<td align="left"><span
					name="research/fund_project[${flag}${index}]/repay_flag_name">
						<x:out select="$research/repay_flag_name" />
				</span></td>
				<td align="center"><span
					name="research/fund_project[${flag}${index}]/repay_date"> <x:out
							select="$research/repay_date" />
				</span></td>
			</tr>
			<c:set value="${index+1}" var="index" scope="page" />
		</x:forEach>
	</tbody>
</table>
<table border="0" cellspacing="0" cellpadding="0" class="table01 t_css" id="own_all">
	<tr>
		<td nowrap align="right"><span class="color_red">*</span>近二年银行贷款总额：</td>
		<td colspan='2' align="center"><x:out select='$xmlData/data/research/total_loan' /></td>
		<td nowrap align="right"><span class="color_red">*</span>余额：</td>
		<td align="center"><x:out select='$xmlData/data/research/over' /></td>
		<td nowrap align="right"><span class="color_red">*</span>到期偿还情况：</td>
		<td colspan='2' align="center"><x:out select="$xmlData/data/research/repay_name" /></td>
	</tr>
</table>
<br>
<c:set var="grantCode"><x:out select="$xmlData/data/proposal/grant_code" /></c:set>
<c:if test="${grantCode!=57&&grantCode!=95&&grantCode!=80}">
<div class="t_bar">单位综合实力</div>
<table class="t_css" width="100%" border="0" cellpadding="0"
	    cellspacing="1" style="table-layout: fixed; word-break: break-all; word-wrap: break-word" >
      
      <tr>
          <td>
			  <pre><x:out select="$xmlData/data/proposal/org_comprehensive"/></pre> 
		  </td>
      </tr>
</table>
</c:if>
<br>
<script type="text/javascript">
	$(function() {
		$("#orgInfo tr:even").addClass("li_1");
		$("#orgInfo tr:odd").addClass("li_2");
		$("#main_sholder tr:even").addClass("li_1");
		$("#main_sholder tr:odd").addClass("li_2");
		$("#tr_assist tr:even").addClass("li_1");
		$("#tr_assist tr:odd").addClass("li_2");
	});
</script>
